import { request } from "@/utils/service"

// 达人佣金

/** 查 */
export function getApi(params: any) {
  return request<any>({
    url: "expertCommission",
    method: "get",
    params
  })
}

/** 查详情 */
export function getDetailApi(id: string) {
  return request<any>({
    url: `expertCommission/${id}`,
    method: "get"
  })
}
